package com.whli.autumn.mall.metadata.mapper;

import com.whli.autumn.core.extend.mapper.IBaseMapper;
import com.whli.autumn.mall.metadata.domain.entity.ProductCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>商品分类数据操作</p>
 *
 * @author whli
 * @version 1.0.0
 * @since 2023-04-09 09:32
 */
@Mapper
public interface ProductCategoryMapper extends IBaseMapper<ProductCategory> {

    /**
     * <p>修改状态</p>
     *
     * @author whli
     * @since 2023/4/29 14:38
     * @param id     主键
     * @param status 状态
     * @return
     */
    int updateStatus(@Param("id") String id, @Param("status") Integer status);

}
